package com.ktgj.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 行程定制业务中间对象 itinerary_middle
 * 
 * @author ruoyi
 * @date 2021-09-01
 */
public class ItineraryMiddle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long primaryKeyId;

    private List<Itinerary> itineraries;

    public List<Itinerary> getItineraries() {
        return itineraries;
    }

    public void setItineraries(List<Itinerary> itineraries) {
        this.itineraries = itineraries;
    }

    /** 行程定制id */
    @Excel(name = "行程定制id")
    private Long itineraryCustomizeId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 各业务线id */
    @Excel(name = "各业务线id")
    private Long businessLineId;

    /** 服务地点经纬度 */
    @Excel(name = "服务地点经纬度")
    private String servePlace;

    /** 距离上一服务点的直线距离 */
    @Excel(name = "距离上一服务点的直线距离")
    private String straightLineDistance;

    private char businessAppraise;

    public char getBusinessAppraise() {
        return businessAppraise;
    }

    public void setBusinessAppraise(char businessAppraise) {
        this.businessAppraise = businessAppraise;
    }

    public void setPrimaryKeyId(Long primaryKeyId)
    {
        this.primaryKeyId = primaryKeyId;
    }

    public Long getPrimaryKeyId() 
    {
        return primaryKeyId;
    }
    public void setItineraryCustomizeId(Long itineraryCustomizeId) 
    {
        this.itineraryCustomizeId = itineraryCustomizeId;
    }

    public Long getItineraryCustomizeId() 
    {
        return itineraryCustomizeId;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setBusinessLineId(Long businessLineId) 
    {
        this.businessLineId = businessLineId;
    }

    public Long getBusinessLineId() 
    {
        return businessLineId;
    }
    public void setServePlace(String servePlace) 
    {
        this.servePlace = servePlace;
    }

    public String getServePlace() 
    {
        return servePlace;
    }
    public void setStraightLineDistance(String straightLineDistance) 
    {
        this.straightLineDistance = straightLineDistance;
    }

    public String getStraightLineDistance() 
    {
        return straightLineDistance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("primaryKeyId", getPrimaryKeyId())
            .append("itineraryCustomizeId", getItineraryCustomizeId())
            .append("businessType", getBusinessType())
            .append("businessLineId", getBusinessLineId())
            .append("servePlace", getServePlace())
            .append("straightLineDistance", getStraightLineDistance())
            .toString();
    }
}
